package com.edu.design.adapter.obj;

import com.edu.design.adapter.cls.Source;
import com.edu.design.adapter.cls.Target;

public class Wrapper implements Target{
	
	private Source source;

	public Wrapper(Source source) {
		super();
		this.source = source;
	}

	@Override
	public void method1() {
		this.source.method1();
	}

	@Override
	public void method2() {
		System.out.println("---method2---");
	}

}
